package com.market.goods.dao.es;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.data.annotation.Id;

import java.util.Date;


@ToString
@Data
public class CategoryBrandDocument {

    @Id
    private String categoryBrandId;

    private String brandId;

    private String brandName;

    private String categoryId;

    private String categoryName;


    private String goodsTypeId;


    private String goodsTypeName;

    private String superiorTypeId;


    private String searchHeat;

    private String version;

    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date createdTime;
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date updateTime;
}
